package org.momin.bean;

import java.util.List;

import org.apache.ibatis.type.Alias;

@Alias("roles")
public class Roles {
	private Integer id;
	private String name;
	private List<UserInfo> list;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<UserInfo> getList() {
		return list;
	}
	public void setList(List<UserInfo> list) {
		this.list = list;
	}
	@Override
	public String toString() {
		return "Roles [id=" + id + ", name=" + name + ", list=" + list + "]";
	}
	public Roles(Integer id, String name, List<UserInfo> list) {
		super();
		this.id = id;
		this.name = name;
		this.list = list;
	}
	public Roles() {
		super();
	}
}
